Details

Time bar (total: 5.1s)

sample37.0ms

Algorithm
intervals
Results
15.0ms283×body80valid
4.0ms96×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.4b

localize86.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 63
Calls
4 calls:
22.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series268.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
64.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune278.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 10.2b

localize90.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
5.0b
(/ (* a c) b)
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
14×add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt
times-frac associate-/r* add-log-exp
pow1
cbrt-undiv div-exp sqrt-prod distribute-lft-out
distribute-rgt-neg-in
flip3-- frac-2neg sqrt-div diff-log prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv associate-/l* distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 81
Calls
4 calls:
22.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
84.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
9.0ms
(/ (* a c) b)
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series308.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
161.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
21.0ms
(/ (* a c) b)
60.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0440738
12043649
25001646

prune327.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 9.7b

localize90.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* a (/ c b))) b)))
5.1b
(* a (/ c b))
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
25×add-sqr-sqrt
15×add-cube-cbrt times-frac
14×add-exp-log add-cbrt-cube
13×associate-*r*
add-log-exp
pow1
associate-/r*
sqrt-prod distribute-lft-out
cbrt-undiv distribute-rgt-neg-in div-exp associate-*l* prod-exp cbrt-unprod
flip3-- sqrt-div diff-log associate-/r/ flip-- div-inv distribute-lft-out-- difference-of-squares unswap-sqr
associate--l- neg-sub0 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log clear-num *-commutative flip-+ associate-/l*
Counts
4 → 92
Calls
4 calls:
22.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
111.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* a (/ c b))) b)))
17.0ms
(* a (/ c b))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series313.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
165.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* a (/ c b))) b)))
17.0ms
(* a (/ c b))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify63.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0505786
12315697
25001694

prune390.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 9.7b

localize95.0ms

Local error

Found 4 expressions with local error:

17.0b
(cbrt (/ c b))
17.0b
(cbrt (/ c b))
17.0b
(cbrt (/ c b))
28.8b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
27×add-sqr-sqrt times-frac
26×add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube add-log-exp
cbrt-div pow1/3 sqrt-prod div-inv
sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
Counts
4 → 81
Calls
4 calls:
2.0ms
(cbrt (/ c b))
2.0ms
(cbrt (/ c b))
2.0ms
(cbrt (/ c b))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(cbrt (/ c b))
55.0ms
(cbrt (/ c b))
61.0ms
(cbrt (/ c b))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify86.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0235564
1707538
22843530
35001506

prune468.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 9.7b

regimes229.0ms

Accuracy

89.6% (1.6b remaining)

Error of 8.3b against oracle of 6.7b and baseline of 22.1b

bsearch264.0ms

Steps
ItersRangePoint
6
4.231934083523606e+52
2.717919616353272e+53
2.678238127073729e+53
8
-2.5998925637949514e-281
-1.5811508713279925e-284
-1.6092906230877535e-284
8
-4.3398659734944224e+136
-1.0492990687338703e+133
-4.285271160992642e+136

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08289
18289

end0.0ms

sample902.0ms

Algorithm
intervals
Results
437.0ms8722×body80valid
133.0ms2795×body80nan