Details

Time bar (total: 6.2s)

sample66.0ms

Algorithm
intervals
Results
16.0ms571×pre80true
14.0ms315×body80nan
11.0ms126×body160valid
6.0ms130×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.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: 26.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.3b
(- (* b b) (* (* 3.0 a) c))
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
26.5b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite30.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)
4.0ms
(- (* b b) (* (* 3.0 a) c))
11.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series258.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
50.0ms
(- (* b b) (* (* 3.0 a) c))
106.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify56.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0419716
11930613
25002608

prune177.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New78785
Fresh000
Picked101
Done000
Total79786

Merged error: 0.4b

Counts
86 → 7

localize17.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
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite71.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:
5.0ms
(* 3.0 (* a c))
4.0ms
(- (* b b) (* (* 3.0 a) c))
28.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
29.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series375.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* 3.0 (* a c))
50.0ms
(- (* b b) (* (* 3.0 a) c))
173.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
131.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify109.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07013126
131882612
250032569

prune430.0ms

Filtered
165 candidates to 103 candidates (62.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1569165
Fresh606
Picked101
Done000
Total1639172

Merged error: 0.0b

Counts
172 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.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)
3.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(/ (- (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.0ms
(/ (/ (- (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (- (* 3.0 a)))

series410.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
46.0ms
(- (* b b) (* (* 3.0 a) c))
186.0ms
(/ (- (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
158.0ms
(/ (/ (- (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (- (* 3.0 a)))

simplify121.0ms

Algorithm
egg-herbie
Counts
472 → 472
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0152610150
150019892

prune1.0s

Filtered
472 candidates to 289 candidates (61.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4693472
Fresh448
Picked101
Done000
Total4747481

Merged error: 0b

Counts
481 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
117×times-frac
75×add-sqr-sqrt *-un-lft-identity
62×add-exp-log add-cbrt-cube
39×add-cube-cbrt
34×associate-*r*
27×associate-/l*
24×prod-exp cbrt-unprod
18×cbrt-undiv div-exp distribute-lft-out-- difference-of-squares
14×pow1
distribute-rgt-neg-in sqrt-prod
pow-prod-down associate-/r/ add-log-exp
div-inv
flip3-- flip--
associate-*l* *-commutative
sub-neg frac-2neg diff-log associate-*r/ clear-num associate-/r* associate-/l/
Counts
4 → 167
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(- (* b b) (* (* 3.0 a) c))
20.0ms
(* (* 3.0 a) (/ (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a)))
16.0ms
(/ (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series461.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08142421
144271970
250011970

prune327.0ms

Filtered
179 candidates to 102 candidates (57.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1790179
Fresh066
Picked011
Done000
Total1797186

Merged error: 0b

Counts
186 → 7

regimes144.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01712
11712

end0.0ms

sample1.8s

Algorithm
intervals
Results
461.0ms16423×pre80true
393.0ms8423×body80nan
391.0ms4398×body160valid
172.0ms3602×body80valid