Details

Time bar (total: 4.2s)

sample43.0ms

Algorithm
intervals
Results
8.0ms35×body2560valid
8.0ms198×body80valid
6.0ms92×body80nan
4.0ms24×body1280valid
2.0ms15×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.9b
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite55.0ms

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

series296.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
78.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
48.0ms
(- (* b b) (* 4.0 (* a c)))
66.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0403779
11514685
25002674

prune236.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.8b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
0.9b
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
16×*-un-lft-identity
13×add-cbrt-cube
11×add-sqr-sqrt
10×prod-exp add-log-exp
add-cube-cbrt
pow1 associate-*r*
associate-*l*
div-exp cbrt-unprod distribute-lft-out
flip3-+ times-frac sqrt-prod flip-+
cbrt-undiv frac-times rec-exp flip3-- distribute-rgt-neg-in sqrt-div 1-exp associate-*l/ sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 80
Calls
4 calls:
54.0ms
(* (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
11.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series299.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
79.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
48.0ms
(- (* b b) (* 4.0 (* a c)))
66.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify58.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0479920
12139790
25002777

prune245.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 6.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.9b
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.0b
(- (* b b) (* 4.0 (* a c)))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite57.0ms

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

series305.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(/ (+ (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
80.0ms
(+ (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
43.0ms
(- (* b b) (* 4.0 (* a c)))
71.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0403779
11514685
25002674

prune205.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 6.8b

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (* b b) (* 4.0 (* a c)))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 54
Calls
4 calls:
7.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series231.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* 4.0 (* a c)))
48.0ms
(- (* b b) (* 4.0 (* a c)))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
67.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify77.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0145476
1528446
22232444
35002440

prune230.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 6.8b

regimes263.0ms

Accuracy

84.9% (4.4b remaining)

Error of 9.8b against oracle of 5.4b and baseline of 34.5b

bsearch119.0ms

Steps
ItersRangePoint
9
3.6106127752583374e-71
6.7695755698382385e-65
9.390367471089922e-69
9
-8.652530131639494e+154
-2.4576771469086066e+149
-2.9358923729233266e+149

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03315
13315

end0.0ms

sample1.2s

Algorithm
intervals
Results
272.0ms1117×body2560valid
234.0ms5730×body80valid
183.0ms928×body1280valid
111.0ms2856×body80nan
73.0ms473×body640valid
29.0ms100×body5120valid
28.0ms244×body320valid
8.0ms108×body160valid