Details

Time bar (total: 4.9s)

sample45.0ms

Algorithm
intervals
Results
23.0ms285×body80valid
5.0ms88×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.9b

Counts
2 → 1

localize112.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.9b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.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
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(+ (neg 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)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
82.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune271.0ms

Filtered
75 candidates to 60 candidates (80.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New66975
Fresh000
Picked101
Done000
Total67976

Merged error: 7.5b

Counts
76 → 9

localize123.0ms

Local error

Found 4 expressions with local error:

8.4b
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
4.0ms
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (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:
75.0ms
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (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)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify118.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune285.0ms

Filtered
70 candidates to 58 candidates (82.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh088
Picked011
Done000
Total691079

Merged error: 7.5b

Counts
79 → 10

localize120.0ms

Local error

Found 4 expressions with local error:

23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.0ms

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

series333.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0202588
1639554
22437548
35001544

prune371.0ms

Filtered
68 candidates to 60 candidates (88.2%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh088
Picked011
Done011
Total681078

Merged error: 7.5b

Counts
78 → 10

localize123.0ms

Local error

Found 4 expressions with local error:

8.6b
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
23.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.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:
5.0ms
(- (neg 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)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series358.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0363835
11402760
25001731

prune310.0ms

Filtered
67 candidates to 59 candidates (88.1%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New67067
Fresh077
Picked011
Done022
Total671077

Merged error: 7.5b

Counts
77 → 10

regimes232.0ms

Accuracy

87.6% (1.5b remaining)

Error of 9.1b against oracle of 7.6b and baseline of 19.8b

bsearch74.0ms

Steps
ItersRangePoint
1
5.881644550024431e+60
6.142209670373015e+60
6.077068390285869e+60
6
-1.555584016455579e+44
-1.807486675368764e+43
-1.5338208594244521e+44

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04958
14958

end0.0ms

sample1.1s

Algorithm
intervals
Results
592.0ms8794×body80valid
195.0ms2877×body80nan

Profiling

Loading profile data...