Details

Time bar (total: 6.5s)

sample61.0ms

Algorithm
intervals
Results
12.0ms44×body2560valid
9.0ms188×body80valid
7.0ms33×body1280valid
5.0ms105×body80nan
2.0ms13×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune5.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: 36.8b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.6b
(- (* b b) (* (* 3.0 a) c))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
27.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

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

series65.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
9.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify52.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0391774
11518684
25001674

prune407.0ms

Filtered
82 candidates to 63 candidates (23.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New711182
Fresh000
Picked101
Done000
Total721183

Merged error: 5.9b

Counts
83 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.4b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
11.3b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
27.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
10.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
17.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
13.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series136.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
45.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
60.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify125.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
06442693
131432447
250012434

prune992.0ms

Filtered
166 candidates to 111 candidates (33.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1633166
Fresh2810
Picked101
Done000
Total16611177

Merged error: 5.8b

Counts
177 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

8.9b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
10.7b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))))))
27.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))
27.1b
(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)))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series106.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))))))
56.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))))))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
17.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify81.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
04041607
119151363
250011321

prune766.0ms

Filtered
92 candidates to 79 candidates (14.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh01010
Picked011
Done000
Total9211103

Merged error: 5.8b

Counts
103 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

5.5b
(exp (log (sqrt (- (* b b) (* (* 3.0 a) c)))))
10.8b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (exp (log (sqrt (- (* b b) (* (* 3.0 a) c)))))))
16.5b
(- (neg b) (exp (log (sqrt (- (* b b) (* (* 3.0 a) c))))))
27.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
41×*-un-lft-identity
24×times-frac
21×add-cube-cbrt
16×log-prod exp-sum
15×difference-of-squares
11×sqrt-prod
10×distribute-lft-out--
associate-/r* add-log-exp
pow1
add-exp-log exp-prod add-cbrt-cube
distribute-rgt-neg-in
flip3-- sqrt-div flip--
log-pow associate-/l*
log-div sqrt-pow1 pow1/2 exp-diff diff-log associate-/r/ associate-/l/
cbrt-undiv associate--l- neg-sub0 sub-neg rem-sqrt-square frac-2neg flip3-+ div-exp neg-log clear-num flip-+ div-inv rem-exp-log
Counts
4 → 107
Calls
4 calls:
6.0ms
(exp (log (sqrt (- (* b b) (* (* 3.0 a) c)))))
17.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (exp (log (sqrt (- (* b b) (* (* 3.0 a) c)))))))
10.0ms
(- (neg b) (exp (log (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series105.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(exp (log (sqrt (- (* b b) (* (* 3.0 a) c)))))
60.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (exp (log (sqrt (- (* b b) (* (* 3.0 a) c)))))))
15.0ms
(- (neg b) (exp (log (sqrt (- (* b b) (* (* 3.0 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify84.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
04471710
119311548
250011516

prune779.0ms

Filtered
119 candidates to 83 candidates (30.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1181119
Fresh099
Picked101
Done011
Total11911130

Merged error: 5.8b

Counts
130 → 11

regimes844.0ms

Accuracy

82.8% (4.7b remaining)

Error of 10.3b against oracle of 5.7b and baseline of 32.8b

bsearch164.0ms

Steps
ItersRangePoint
9
1.4958858181332487e-84
1.457638978688563e-75
4.353250150025503e-84
10
-8.56091843340189e+161
-1.1976703346365243e+147
-9.079265283465152e+151

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03717
13717

end0.0ms

sample1.6s

Algorithm
intervals
Results
302.0ms1091×body2560valid
280.0ms5797×body80valid
204.0ms909×body1280valid
131.0ms2913×body80nan
90.0ms497×body640valid
41.0ms114×body5120valid
30.0ms231×body320valid
8.0ms91×body160valid

Profiling

Loading profile data...