Details

Time bar (total: 4.6s)

sample35.0ms

Algorithm
intervals
Results
15.0ms277×body80valid
4.0ms82×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.6b

localize122.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite32.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:
12.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify115.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune292.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 5.9b

localize117.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- distribute-rgt-neg-in flip3-+ neg-log flip-+
Counts
4 → 60
Calls
4 calls:
15.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify106.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0217561
1808538
23289523
35001519

prune334.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 5.9b

localize120.0ms

Local error

Found 4 expressions with local error:

24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.0ms

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

series281.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0129540
1469520
21914516
35002508

prune344.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 5.9b

localize126.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.1b
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
4.8b
(/ (* a c) b)
24.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite39.0ms

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

series253.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
84.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
18.0ms
(/ (* a c) b)
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0478706
12176625
25001623

prune319.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 5.6b

regimes219.0ms

Accuracy

86.2% (1.8b remaining)

Error of 8.4b against oracle of 6.5b and baseline of 19.9b

bsearch80.0ms

Steps
ItersRangePoint
0
3459389182982077.0
3464539799267021.5
3461964491124549.0
7
-3.2850832669897173e+80
-1.2845883854340997e+78
-2.914616218143618e+80

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05665
15665

end0.0ms

sample890.0ms

Algorithm
intervals
Results
477.0ms8729×body80valid
143.0ms2961×body80nan