Details

Time bar (total: 3.3s)

sample52.0ms

Algorithm
intervals
Results
27.0ms278×body80valid
7.0ms88×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.7b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series61.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
17.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0248644
1898606
23865590
35001586

prune191.0ms

Filtered
60 candidates to 75 candidates (-25.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New68775
Fresh000
Picked101
Done000
Total69776

Merged error: 7.8b

Counts
76 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.1b
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
5.2b
(/ (* a c) b)
24.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.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 associate-/r*
pow1
cbrt-undiv div-exp sqrt-prod
flip3-- flip--
frac-2neg sqrt-div diff-log prod-exp clear-num associate-/r/ 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 neg-log
Counts
4 → 77
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
4.0ms
(/ (* a c) b)
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series50.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
16.0ms
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
5.0ms
(/ (* a c) b)
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify52.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0447687
12162609
25001607

prune168.0ms

Filtered
65 candidates to 89 candidates (-36.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New86389
Fresh246
Picked101
Done000
Total89796

Merged error: 6.8b

Counts
96 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.3b
(* a (/ c b))
4.1b
(/ (* 2.0 c) (- (* 2.0 (* a (/ c b))) (* 2 b)))
24.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

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

series51.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0ms
(* a (/ c b))
16.0ms
(/ (* 2.0 c) (- (* 2.0 (* a (/ c b))) (* 2 b)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify64.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0511735
12479657
25002655

prune186.0ms

Filtered
73 candidates to 100 candidates (-37.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New973100
Fresh156
Picked101
Done000
Total998107

Merged error: 6.8b

Counts
107 → 8

localize29.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (cbrt a) (/ c b))
2.4b
(* (* (cbrt a) (cbrt a)) (* (cbrt a) (/ c b)))
4.1b
(/ (* 2.0 c) (- (* 2.0 (* (* (cbrt a) (cbrt a)) (* (cbrt a) (/ c b)))) (* 2 b)))
24.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
35×add-exp-log
27×add-sqr-sqrt
23×add-cbrt-cube
19×pow1
16×add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
14×times-frac associate-*r*
pow-prod-down
associate-*l*
cbrt-undiv cbrt-prod div-exp
add-log-exp unswap-sqr
associate-*r/ associate-/r* sqrt-prod
flip3-- sqrt-div associate-/r/ *-commutative flip-- div-inv
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l*
Counts
4 → 102
Calls
4 calls:
7.0ms
(* (cbrt a) (/ c b))
10.0ms
(* (* (cbrt a) (cbrt a)) (* (cbrt a) (/ c b)))
16.0ms
(/ (* 2.0 c) (- (* 2.0 (* (* (cbrt a) (cbrt a)) (* (cbrt a) (/ c b)))) (* 2 b)))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series73.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (cbrt a) (/ c b))
8.0ms
(* (* (cbrt a) (cbrt a)) (* (cbrt a) (/ c b)))
21.0ms
(/ (* 2.0 c) (- (* 2.0 (* (* (cbrt a) (cbrt a)) (* (cbrt a) (/ c b)))) (* 2 b)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify70.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06041041
12731851
25001816

prune160.0ms

Filtered
77 candidates to 114 candidates (-48.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1122114
Fresh167
Picked101
Done000
Total1148122

Merged error: 6.8b

Counts
122 → 8

regimes279.0ms

Accuracy

92.4% (1.2b remaining)

Error of 7.8b against oracle of 6.6b and baseline of 22.2b

bsearch70.0ms

Steps
ItersRangePoint
9
7.012417207579252e+108
6.866534780894548e+114
1.2836931049081647e+114
9
-7.21165770739688e+50
-1.2355930349392776e+42
-5.400759275415969e+50

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05442
15442

end0.0ms

sample1.4s

Algorithm
intervals
Results
746.0ms8764×body80valid
234.0ms2909×body80nan

Profiling

Loading profile data...