Details

Time bar (total: 3.8s)

sample46.0ms

Algorithm
intervals
Results
10.0ms37×body1280valid
8.0ms33×body2560valid
7.0ms178×body80valid
3.0ms22×body640valid
3.0ms79×body80nan
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.6b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt times-frac associate-/l*
sqrt-prod distribute-lft-out-- difference-of-squares
pow1
flip3-- flip--
distribute-rgt-neg-in 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 → 77
Calls
4 calls:
37.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
3.0ms
(- (* b b) (* 4.0 (* a c)))
12.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series299.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
50.0ms
(- (* b b) (* 4.0 (* a c)))
76.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
74.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0404890
11481801
25001796

prune258.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.1b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune19.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 6.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.6b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
15×add-exp-log
12×add-sqr-sqrt
11×*-un-lft-identity
10×add-log-exp
add-cbrt-cube
pow1
add-cube-cbrt
div-exp sqrt-prod
flip3-- times-frac diff-log prod-exp flip-- associate-/l*
cbrt-undiv sub-neg rec-exp pow-flip sqrt-div 1-exp distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 pow1/2 pow-prod-down neg-log clear-num associate-/r* cbrt-unprod div-inv inv-pow
Counts
4 → 73
Calls
4 calls:
7.0ms
(/ 1 (* 2.0 a))
3.0ms
(- (* b b) (* 4.0 (* a c)))
12.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series214.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0328541
11280496
25001484

prune212.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 6.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* 4.0 (* a c)))
4.5b
(* (/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (/ 1 (* 2.0 a)))
9.7b
(/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
23.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
51×add-exp-log
42×*-un-lft-identity
40×times-frac
28×add-cube-cbrt
27×add-cbrt-cube
24×associate-*l*
20×prod-exp
16×div-exp
14×difference-of-squares
10×sqrt-prod
cbrt-undiv cbrt-unprod
pow1 associate-*r* distribute-lft-out--
associate-/r* add-log-exp
rec-exp flip3-- 1-exp associate-/r/ flip--
div-inv associate-/l*
sqrt-div 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 → 136
Calls
4 calls:
3.0ms
(- (* b b) (* 4.0 (* a c)))
66.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (/ 1 (* 2.0 a)))
25.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series501.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* 4.0 (* a c)))
171.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (/ 1 (* 2.0 a)))
209.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
75.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify123.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
07182071
136171765
250011758

prune374.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 6.0b

regimes195.0ms

Accuracy

83.1% (4.4b remaining)

Error of 10.2b against oracle of 5.8b and baseline of 32.0b

bsearch88.0ms

Steps
ItersRangePoint
8
1.5276508475467709e+44
4.1560730947117816e+46
4.1199128263687574e+46
5
-1.2023865605984147e-79
-5.347575839305805e-80
-8.364554704106616e-80

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03716
13716

end0.0ms

sample1.1s

Algorithm
intervals
Results
245.0ms1073×body2560valid
234.0ms5862×body80valid
171.0ms902×body1280valid
106.0ms2862×body80nan
71.0ms459×body640valid
32.0ms114×body5120valid
23.0ms213×body320valid
8.0ms116×body160valid