Details

Time bar (total: 4.7s)

sample33.0ms

Algorithm
intervals
Results
14.0ms278×body80valid
3.0ms71×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.7b

localize118.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series300.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0246646
1890606
23700588
35001584

prune300.0ms

Filtered
75 candidates to 60 candidates (80.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.6b

localize118.0ms

Local error

Found 4 expressions with local error:

6.9b
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
20.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite21.0ms

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

series378.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(- (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
99.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
95.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0363835
11402760
25001731

prune352.0ms

Filtered
67 candidates to 59 candidates (88.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 6.6b

localize120.0ms

Local error

Found 4 expressions with local error:

20.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.2b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity
pow1
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip-- add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 pow1/2
cbrt-div
pow1/3
Counts
4 → 58
Calls
4 calls:
4.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)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series309.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify75.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0202563
1639537
22437532
35001526

prune387.0ms

Filtered
70 candidates to 60 candidates (85.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 6.6b

localize121.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.1b
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
6.6b
(/ (* a c) b)
20.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite34.0ms

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

series238.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
68.0ms
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
20.0ms
(/ (* a c) b)
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0459640
12217559
25001554

prune295.0ms

Filtered
86 candidates to 65 candidates (75.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 5.4b

regimes164.0ms

Accuracy

85.5% (1.9b remaining)

Error of 8.5b against oracle of 6.6b and baseline of 19.8b

bsearch177.0ms

Steps
ItersRangePoint
6
4.659640959833754e+64
2.871891476161473e+65
1.7848646122762274e+65
10
-1.7519803517262024e+185
-4.678818969655266e+173
-4.7251895122821543e+173

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06063
16063

end0.0ms

sample834.0ms

Algorithm
intervals
Results
449.0ms8702×body80valid
139.0ms2950×body80nan