Details

Time bar (total: 6.8s)

sample60.0ms

Algorithm
intervals
Results
13.0ms502×pre80true
13.0ms246×body80nan
12.0ms144×body160valid
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

localize10.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))))

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

series284.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
48.0ms
(- (* b b) (* (* 3.0 a) c))
140.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
77.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0417711
11922611
25001602

prune164.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

localize14.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
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite44.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
associate-*l* pow-prod-down associate-/l/
frac-2neg clear-num
sub-neg flip3-+ diff-log associate-*r* *-commutative flip-+
Counts
4 → 151
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* 3.0 (* a c))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (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))

series582.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* 3.0 (* a c))
283.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
232.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify120.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
06512507
133122195
250012183

prune580.0ms

Filtered
163 candidates to 102 candidates (62.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15310163
Fresh213
Picked101
Done000
Total15611167

Merged error: 0.0b

Counts
167 → 11

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
(/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite47.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
associate-*r* pow-prod-down associate-/l/
frac-2neg clear-num
sub-neg flip3-+ diff-log associate-*l* *-commutative flip-+
Counts
4 → 151
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(/ (+ 0 (* (* 3.0 a) c)) (- (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))

series583.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
289.0ms
(/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
228.0ms
(/ (/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify136.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
06312508
135202189
250032186

prune342.0ms

Filtered
163 candidates to 102 candidates (62.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1612163
Fresh1910
Picked101
Done000
Total16311174

Merged error: 0b

Counts
174 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
996×times-frac
428×add-sqr-sqrt *-un-lft-identity
300×add-cube-cbrt
152×add-exp-log
126×associate-/l*
97×div-exp
68×add-cbrt-cube
64×distribute-lft-out-- difference-of-squares
45×div-inv
39×cbrt-undiv associate-/r*
32×distribute-rgt-neg-in sqrt-prod
23×prod-exp
12×rec-exp 1-exp
cbrt-unprod
add-log-exp
pow1
frac-2neg clear-num associate-/r/ associate-/l/
flip3-- flip--
sub-neg pow-flip diff-log div-sub inv-pow
Counts
4 → 504
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
20.0ms
(/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c))
12.0ms
(/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
39.0ms
(/ (/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c)) (* 3.0 a))

series531.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- (* b b) (* (* 3.0 a) c))
207.0ms
(/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c))
104.0ms
(/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
171.0ms
(/ (/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c)) (* 3.0 a))

simplify124.0ms

Algorithm
egg-herbie
Counts
516 → 516
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
018929605
150018720

prune986.0ms

Filtered
516 candidates to 282 candidates (54.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New5124516
Fresh6410
Picked011
Done000
Total5189527

Merged error: 0b

Counts
527 → 9

regimes162.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02013
12013

end0.0ms

sample1.8s

Algorithm
intervals
Results
462.0ms16671×pre80true
397.0ms4493×body160valid
389.0ms8671×body80nan
165.0ms3507×body80valid

Profiling

Loading profile data...