Details

Time bar (total: 4.0s)

sample43.0ms

Algorithm
intervals
Results
8.0ms35×body2560valid
8.0ms198×body80valid
7.0ms24×body1280valid
3.0ms92×body80nan
2.0ms15×body640valid
1.0msbody320valid
1.0msbody5120valid
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

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)))

rewrite53.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))))
2.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
42.0ms
(- (* b b) (* (* 4.0 a) c))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0405779
11563685
25001674

prune228.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.8b

localize15.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)))

rewrite71.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:
52.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)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
46.0ms
(- (* b b) (* (* 4.0 a) c))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0481920
12189790
25001777

prune234.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 6.8b

localize11.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)))

rewrite53.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:
33.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.0ms
(- (* b b) (* (* 4.0 a) c))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series288.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
73.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
44.0ms
(- (* b b) (* (* 4.0 a) c))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0405779
11563685
25001674

prune185.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 6.8b

localize14.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)))

rewrite15.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:
2.0ms
(- (* b b) (* (* 4.0 a) c))
2.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* (* 4.0 a) c))
44.0ms
(- (* b b) (* (* 4.0 a) c))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify77.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0149476
1576446
22486444
35001440

prune202.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 6.8b

regimes246.0ms

Accuracy

85% (4.4b remaining)

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

bsearch112.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
259.0ms1117×body2560valid
226.0ms5730×body80valid
172.0ms928×body1280valid
110.0ms2856×body80nan
70.0ms473×body640valid
30.0ms100×body5120valid
27.0ms244×body320valid
8.0ms108×body160valid