Details

Time bar (total: 6.6s)

sample346.0ms

Algorithm
intervals
Results
22.0ms281×body80valid
6.0ms87×body80nan

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune29.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.8b

Counts
2 → 1

localize146.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.4b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(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:
13.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series397.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
103.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
93.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
105.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify117.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0248644
1898606
23865590
35001588

prune436.0ms

Filtered
75 candidates to 62 candidates (17.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New68775
Fresh000
Picked101
Done000
Total69776

Merged error: 7.5b

Counts
76 → 7

localize145.0ms

Local error

Found 4 expressions with local error:

8.9b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 60
Calls
4 calls:
4.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series375.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
92.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
93.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
94.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify110.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0221725
1823631
23496612
35001592

prune428.0ms

Filtered
72 candidates to 58 candidates (19.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh066
Picked011
Done000
Total72779

Merged error: 7.5b

Counts
79 → 7

localize146.0ms

Local error

Found 4 expressions with local error:

9.2b
(+ (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.8b
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.8b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.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 add-cbrt-cube
flip3-- sqrt-prod flip--
pow1/3 sqrt-div sum-log
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 54
Calls
4 calls:
4.0ms
(+ (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series420.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
89.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
116.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
119.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0366804
11468730
25001697

prune587.0ms

Filtered
66 candidates to 59 candidates (10.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh055
Picked011
Done011
Total66773

Merged error: 7.5b

Counts
73 → 7

localize145.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.7b
(exp (log (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite26.0ms

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

series395.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
103.0ms
(exp (log (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
94.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify108.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0249652
1880611
23511575
35001565

prune408.0ms

Filtered
76 candidates to 59 candidates (22.4%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New76076
Fresh044
Picked011
Done022
Total76783

Merged error: 7.5b

Counts
83 → 7

regimes314.0ms

Accuracy

92.2% (0.9b remaining)

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

bsearch217.0ms

Steps
ItersRangePoint
9
5.514542683406611e+77
2.3545344307669661e+86
4.3318565542540646e+83
8
-6.668740644957453e+156
-5.936809638808374e+152
-1.332209997956342e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04858
14858

end0.0ms

sample1.2s

Algorithm
intervals
Results
598.0ms8739×body80valid
187.0ms2908×body80nan

Profiling

Loading profile data...