Details

Time bar (total: 5.7s)

sample60.0ms

Algorithm
intervals
Results
15.0ms540×pre80true
13.0ms151×body160valid
12.0ms284×body80nan
5.0ms105×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

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.3b
(* (* 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:
3.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 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))))

series282.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* (* 3.0 a) c)
139.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
81.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify57.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0417711
11922611
25001602

prune175.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.5b

Counts
86 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 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))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
pow-prod-down associate-/r/
associate-*r* associate-*l* div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* 3.0 (* a c))
16.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* 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))

series554.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
06282481
133222152
250022149

prune371.0ms

Filtered
169 candidates to 104 candidates (61.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New15811169
Fresh516
Picked101
Done000
Total16412176

Merged error: 0.0b

Counts
176 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 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))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
associate-*r* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* (* 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)))))
16.0ms
(/ (/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series562.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
30.0ms
(* (* 3.0 a) c)
279.0ms
(/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
235.0ms
(/ (/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify110.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
05712482
130602153
250032150

prune352.0ms

Filtered
169 candidates to 103 candidates (60.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1636169
Fresh8311
Picked101
Done000
Total1729181

Merged error: 0b

Counts
181 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
118×add-exp-log
77×add-cbrt-cube
68×times-frac
55×add-sqr-sqrt *-un-lft-identity
52×div-exp
44×prod-exp
30×cbrt-undiv
27×add-cube-cbrt
26×associate-/r*
25×cbrt-unprod
14×distribute-lft-out-- difference-of-squares
10×1-exp
pow1
add-log-exp
distribute-rgt-neg-in sqrt-prod
div-inv
associate-*r* pow-prod-down
frac-2neg diff-log clear-num associate-/l*
associate--l- neg-sub0 sub-neg flip3-- associate-*r/ associate-*l* neg-log associate-/r/ *-commutative flip-- associate-/l/
Counts
4 → 154
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
5.0ms
(* (* 3.0 a) c)
18.0ms
(/ (* 3.0 a) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c))
19.0ms
(/ (* 1 (/ (* 3.0 a) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c))) (* 3.0 a))

series627.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.0ms
(* (* 3.0 a) c)
312.0ms
(/ (* 3.0 a) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c))
214.0ms
(/ (* 1 (/ (* 3.0 a) (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c))) (* 3.0 a))

simplify47.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08972344
150011887

prune252.0ms

Filtered
166 candidates to 87 candidates (52.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1651166
Fresh178
Picked011
Done000
Total1669175

Merged error: 0b

Counts
175 → 9

regimes154.0ms

Accuracy

0% (0.4b 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
02113
12313
22313

end0.0ms

sample1.7s

Algorithm
intervals
Results
447.0ms16530×pre80true
393.0ms4500×body160valid
373.0ms8530×body80nan
156.0ms3500×body80valid

Profiling

Loading profile data...