Details

Time bar (total: 4.0s)

sample70.0ms

Algorithm
intervals
Results
10.0ms194×body80valid
9.0ms92×body80nan
8.0ms34×body1280valid
8.0ms25×body2560valid
3.0ms13×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.7b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
1.0b
(- (* b b) (* (* 3.0 a) c))
1.1b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
20.6b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite27.0ms

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

series63.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(- (* b b) (* (* 3.0 a) c))
16.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0391774
11518684
25001674

prune164.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New711182
Fresh000
Picked101
Done000
Total721183

Merged error: 4.4b

Counts
83 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
3.5b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
10.6b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
20.6b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
16.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
42.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
55.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06342580
131612341
250012328

prune327.0ms

Filtered
106 candidates to 160 candidates (-50.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1573160
Fresh2810
Picked101
Done000
Total16011171

Merged error: 4.4b

Counts
171 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

8.2b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
10.5b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))))))
20.6b
(sqrt (- (* b b) (* (* 3.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
12×times-frac
add-log-exp
pow1 add-exp-log sqrt-prod add-cbrt-cube
difference-of-squares
flip3-- sqrt-div associate-/r* flip--
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/r/ associate-/l/
cbrt-undiv associate--l- neg-sub0 sub-neg frac-2neg flip3-+ div-exp neg-log clear-num flip-+ div-inv
Counts
4 → 80
Calls
4 calls:
4.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
7.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))))))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series102.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
54.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
16.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify80.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
04041604
119211363
250011321

prune255.0ms

Filtered
79 candidates to 92 candidates (-16.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh01010
Picked011
Done000
Total9211103

Merged error: 4.4b

Counts
103 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
3.5b
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
10.6b
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
20.6b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
54×add-exp-log add-cbrt-cube
26×times-frac
19×cbrt-undiv div-exp
18×add-sqr-sqrt prod-exp cbrt-unprod
17×add-cube-cbrt *-un-lft-identity
10×associate-*r/ associate-/r/
associate-/l*
flip3-- flip--
div-inv add-log-exp
pow1
associate-/r*
sqrt-prod
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 110
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
13.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series120.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
43.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
55.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify118.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
06791938
144781484
250011443

prune155.0ms

Filtered
81 candidates to 122 candidates (-50.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1202122
Fresh369
Picked101
Done011
Total1249133

Merged error: 4.3b

Counts
133 → 9

regimes459.0ms

Accuracy

82.6% (4.7b remaining)

Error of 10.2b against oracle of 5.5b and baseline of 32.6b

bsearch70.0ms

Steps
ItersRangePoint
8
4.6842429409994347e-64
1.8297242317365662e-59
6.377775949629369e-64
11
-1.425910122141892e+88
-5.686279252022679e+68
-1.4133850058944391e+88

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03717
13717

end0.0ms

sample1.5s

Algorithm
intervals
Results
310.0ms1042×body2560valid
303.0ms5838×body80valid
229.0ms915×body1280valid
137.0ms2765×body80nan
92.0ms470×body640valid
38.0ms105×body5120valid
35.0ms227×body320valid
12.0ms120×body160valid

Profiling

Loading profile data...