Details

Time bar (total: 12.1s)

sample84.0ms

Algorithm
intervals
Results
23.0ms29×body2560valid
13.0ms186×body80valid
9.0ms24×body1280valid
7.0ms102×body80nan
3.0ms14×body640valid
2.0msbody5120valid
2.0msbody320valid
1.0msbody160valid

simplify97.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01417
12417
24416
37816
410216
511116
done11116

prune18.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.6b
(- (* b b) (* (* 4.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-cbrt-cube add-exp-log
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
neg-sub0 cbrt-undiv sum-log flip3-+ flip3-- sqrt-div div-exp associate-+l- flip-+ flip-- associate-/l/
+-commutative rem-sqrt-square clear-num associate-/r* sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
90.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
6.0ms
(- (* b b) (* (* 4.0 a) c))
29.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
49.0ms
(- (* b b) (* (* 4.0 a) c))
101.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
125.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify915.0ms

Counts
82 → 82
Iterations

Useful iterations: done (912.0ms)

IterNodesCost
01541565
14211461
219261245
done50011239

prune572.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.5b

localize35.0ms

Local error

Found 4 expressions with local error:

2.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.5b
(/ (/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
10.9b
(/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-cbrt-cube add-exp-log
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
clear-num frac-2neg sqrt-div diff-log prod-exp cbrt-unprod
associate--l- neg-sub0 rem-sqrt-square sub-neg sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
24.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
98.0ms
(/ (/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
53.0ms
(/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series735.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
279.0ms
(/ (/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
244.0ms
(/ (+ 0 (* (* 4.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
99.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.6s

Counts
166 → 166
Iterations

Useful iterations: 2 (623.0ms)

IterNodesCost
02545113
16594543
237364219
done50004219

prune633.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.4b

localize32.0ms

Local error

Found 4 expressions with local error:

10.5b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
11.1b
(/ (+ 0 (* (* 4.0 a) c)) (- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))))))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
15×*-un-lft-identity add-cube-cbrt
12×times-frac
add-log-exp
pow1 add-cbrt-cube add-exp-log sqrt-prod
difference-of-squares
associate-/r* flip3-- sqrt-div flip--
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/r/ associate-/l/
associate--l- neg-sub0 cbrt-undiv clear-num sub-neg frac-2neg flip3-+ div-exp neg-log flip-+ div-inv
Counts
4 → 80
Calls
4 calls:
10.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
27.0ms
(/ (+ 0 (* (* 4.0 a) c)) (- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))))))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series447.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
201.0ms
(/ (+ 0 (* (* 4.0 a) c)) (- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))))))
79.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify917.0ms

Counts
92 → 92
Iterations

Useful iterations: done (914.0ms)

IterNodesCost
01603048
14111909
221611783
done50001763

prune461.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 5.4b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
0.6b
(- (* b b) (* (* 4.0 a) c))
1.3b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
60×times-frac
47×add-sqr-sqrt
36×*-un-lft-identity
26×add-cube-cbrt
25×add-exp-log
13×add-cbrt-cube
12×associate-/r* div-exp
10×difference-of-squares
associate-/r/
sqrt-prod add-log-exp
flip3-- flip--
pow1
cbrt-undiv div-inv distribute-lft-out--
rec-exp 1-exp prod-exp associate-/l*
sub-neg sqrt-div diff-log
rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 cbrt-unprod pow-flip inv-pow
Counts
4 → 118
Calls
4 calls:
48.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
6.0ms
(- (* b b) (* (* 4.0 a) c))
37.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series378.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
50.0ms
(- (* b b) (* (* 4.0 a) c))
90.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify781.0ms

Counts
130 → 130
Iterations

Useful iterations: done (775.0ms)

IterNodesCost
02203137
15712809
227102613
done50012611

prune345.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 5.4b

regimes317.0ms

Accuracy

85.6% (3.9b remaining)

Error of 9.4b against oracle of 5.5b and baseline of 32.7b

bsearch233.0ms

Steps
ItersRangePoint
7
1.9371672431899034e+133
5.16149553175908e+134
2.1254018088008333e+133
9
1.657231371314425e-305
1.760208242016082e-296
1.495170435206392e-301
9
-3.792961868720521e+75
-7.261872368850313e+67
-3.5695008721667037e+75

simplify6.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03769
14467
24567
done4567

end0.0ms

sample2.6s

Algorithm
intervals
Results
712.0ms5961×body80valid
511.0ms1054×body2560valid
414.0ms455×body640valid
248.0ms877×body1280valid
229.0ms2946×body80nan
62.0ms214×body320valid
37.0ms97×body5120valid
11.0ms111×body160valid