Details

Time bar (total: 17.9s)

sample79.0ms

Algorithm
intervals
Results
20.0ms40×body2560valid
12.0ms181×body80valid
9.0ms26×body1280valid
6.0ms92×body80nan
5.0msbody5120valid
3.0ms14×body640valid
1.0msbody320valid
0.0msbody160valid

simplify198.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01417
12917
26417
312017
414517
515217
615617
done15617

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite237.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 157
Calls
4 calls:
125.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
20.0ms
(- (* b b) (* 4.0 (* a c)))
67.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
12.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series407.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
67.0ms
(- (* b b) (* 4.0 (* a c)))
121.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
98.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.6s

Counts
169 → 169
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02436690
15874705
217533760
done50003113

prune556.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 4.3b

localize35.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
2.8b
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
8.4b
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
23.4b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
78×times-frac
72×*-un-lft-identity
50×add-cube-cbrt
27×associate-/l*
26×sqrt-prod
22×difference-of-squares
18×add-exp-log prod-diff add-cbrt-cube
11×distribute-lft-out--
cbrt-undiv div-exp associate-/r*
fma-neg associate-/r/ add-log-exp
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv
associate-/l/
frac-2neg prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 171
Calls
4 calls:
16.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
82.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
76.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
3.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series839.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
230.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
345.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
107.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.6s

Counts
183 → 183
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02755401
16554711
222914237
done50014169

prune731.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.3b

localize37.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
2.9b
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
8.4b
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
23.4b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt
58×*-un-lft-identity
51×add-exp-log
42×add-cube-cbrt
40×times-frac
27×add-cbrt-cube
24×associate-*l*
23×sqrt-prod
20×prod-exp
18×prod-diff
16×div-exp difference-of-squares
cbrt-undiv cbrt-unprod distribute-lft-out--
pow1 associate-*r*
fma-neg associate-/r* add-log-exp
expm1-log1p-u rec-exp 1-exp associate-/r/ log1p-expm1-u
flip3-- flip-- div-inv associate-/l*
associate-/l/ unswap-sqr
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 169
Calls
4 calls:
22.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
126.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
40.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
3.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series788.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
231.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
301.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
119.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.8s

Counts
181 → 181
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02805119
17144377
225023764
done50003696

prune819.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.3b

localize42.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
2.7b
(/ (* 2.0 a) (/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)))
8.4b
(/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
23.4b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
45×add-exp-log add-cbrt-cube
35×*-un-lft-identity
30×times-frac
25×add-cube-cbrt
20×sqrt-prod
18×prod-diff associate-/r*
17×cbrt-undiv div-exp
13×prod-exp cbrt-unprod
10×difference-of-squares
associate-/r/
fma-neg add-log-exp
pow1 distribute-lft-out--
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv
frac-2neg clear-num associate-/l*
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 143
Calls
4 calls:
15.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
40.0ms
(/ (* 2.0 a) (/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)))
55.0ms
(/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
3.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series667.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
130.0ms
(/ (* 2.0 a) (/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)))
279.0ms
(/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
123.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.9s

Counts
155 → 155
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02484126
16433761
227573043
done50002976

prune600.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 4.3b

regimes427.0ms

Accuracy

87.7% (3.4b remaining)

Error of 8.7b against oracle of 5.3b and baseline of 32.7b

bsearch388.0ms

Steps
ItersRangePoint
10
4.61796087672408e+142
1.3206820209921783e+153
1.974261024048121e+145
10
-7.804748171248596e-210
-1.2742380330863746e-228
-3.1153949179978696e-213
10
-7.296408209838224e+27
-1014094955833491.1
-1.1509557557359616e+21

simplify20.0ms

Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
04169
15267
26367
done6367

end0.0ms

sample3.7s

Algorithm
intervals
Results
660.0ms1095×body2560valid
652.0ms2914×body80nan
631.0ms457×body640valid
535.0ms956×body1280valid
491.0ms5729×body80valid
82.0ms241×body320valid
63.0ms119×body5120valid
16.0ms115×body160valid