Details

Time bar (total: 9.2s)

sample60.0ms

Algorithm
intervals
Results
15.0ms502×pre80true
12.0ms144×body160valid
10.0ms246×body80nan
5.0ms112×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.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: 29.2b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(- (* b b) (* (* 3.0 a) c))
0.4b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
29.1b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite29.0ms

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

series252.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
46.0ms
(- (* b b) (* (* 3.0 a) c))
106.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
80.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify59.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0419716
11930613
25002608

prune167.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New81485
Fresh000
Picked101
Done000
Total82486

Merged error: 0.4b

Counts
86 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* b b) (* (* 3.0 a) c))
0.3b
(* 3.0 (* a c))
0.3b
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite69.0ms

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

series364.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* 3.0 (* a c))
168.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
124.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify120.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
07013124
131902612
250032569

prune424.0ms

Filtered
165 candidates to 105 candidates (63.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1569165
Fresh303
Picked101
Done000
Total1609169

Merged error: 0.0b

Counts
169 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(- (* b b) (* (* 3.0 a) c))
0.3b
(/ (neg (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (neg (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (neg (* 3.0 a)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
624×times-frac
363×add-sqr-sqrt *-un-lft-identity
167×add-cube-cbrt
155×distribute-rgt-neg-in
106×distribute-lft-neg-in neg-mul-1
98×distribute-lft-out-- difference-of-squares
54×associate-/l*
49×sqrt-prod
16×add-exp-log associate-/r/ add-cbrt-cube
13×associate-/r*
pow1 flip3-- flip-- div-inv
add-log-exp
cbrt-undiv div-exp
div-sub distribute-frac-neg associate-*r* pow-prod-down prod-exp cbrt-unprod
neg-sub0 frac-2neg clear-num
sub-neg diff-log associate-*l* *-commutative associate-/l/
Counts
4 → 460
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(/ (neg (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.0ms
(/ (/ (neg (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (neg (* 3.0 a)))

series399.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
179.0ms
(/ (neg (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
155.0ms
(/ (/ (neg (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (neg (* 3.0 a)))

simplify128.0ms

Algorithm
egg-herbie
Counts
472 → 472
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
0152610150
150019892

prune979.0ms

Filtered
472 candidates to 289 candidates (61.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New4693472
Fresh268
Picked101
Done000
Total4729481

Merged error: 0b

Counts
481 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(- (* b b) (* (* 3.0 a) c))
0.3b
(/ (neg (* 3.0 a)) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c))
0.4b
(/ (/ (neg (* 3.0 a)) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c)) (neg (* 3.0 a)))

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
3159×times-frac
1496×add-sqr-sqrt *-un-lft-identity
908×add-cube-cbrt
504×distribute-rgt-neg-in
357×distribute-lft-neg-in neg-mul-1
294×distribute-lft-out-- difference-of-squares
161×associate-/l*
147×sqrt-prod
58×div-inv
31×associate-/r*
23×add-exp-log add-cbrt-cube
pow1 cbrt-undiv div-exp
associate-/r/
add-log-exp
div-sub distribute-frac-neg associate-*r* pow-prod-down prod-exp cbrt-unprod
neg-sub0 frac-2neg clear-num
sub-neg flip3-- diff-log associate-*l* *-commutative flip-- associate-/l/
Counts
4 → 1338
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(- (* b b) (* (* 3.0 a) c))
20.0ms
(/ (neg (* 3.0 a)) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c))
48.0ms
(/ (/ (neg (* 3.0 a)) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c)) (neg (* 3.0 a)))

series430.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
195.0ms
(/ (neg (* 3.0 a)) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c))
165.0ms
(/ (/ (neg (* 3.0 a)) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c)) (neg (* 3.0 a)))

simplify367.0ms

Algorithm
egg-herbie
Counts
1350 → 1350
Iterations

Useful iterations: 1 (93.0ms)

IterNodesCost
0427432799
1500132655

prune3.1s

Filtered
1350 candidates to 835 candidates (61.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New134911350
Fresh178
Picked011
Done000
Total135091359

Merged error: 0b

Counts
1359 → 9

regimes169.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02314
12714
22714

end0.0ms

sample1.8s

Algorithm
intervals
Results
518.0ms16671×pre80true
379.0ms4493×body160valid
368.0ms8671×body80nan
155.0ms3507×body80valid

Profiling

Loading profile data...