Details

Time bar (total: 4.3s)

analyze278.0ms

Algorithm
search

sample40.0ms

Algorithm
intervals
Results
15.0ms152×body160valid
8.0ms289×pre80true
5.0ms104×body80valid
2.0ms33×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.7b

Counts
2 → 1

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

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

series55.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0417711
11922611
25001602

prune133.0ms

Filtered
59 candidates to 85 candidates (-44.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New78785
Fresh000
Picked101
Done000
Total79786

Merged error: 0.5b

Counts
86 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

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

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

series121.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(* 3.0 (* a c))
59.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
49.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 (97.0ms)

IterNodesCost
06512507
133122195
250012183

prune299.0ms

Filtered
102 candidates to 163 candidates (-59.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15310163
Fresh606
Picked101
Done000
Total16010170

Merged error: 0.0b

Counts
170 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
386×times-frac
279×add-sqr-sqrt
253×*-un-lft-identity
167×add-cube-cbrt
112×add-exp-log
85×associate-*r*
72×add-cbrt-cube
60×div-exp
42×distribute-lft-out-- difference-of-squares
35×cbrt-undiv
30×associate-/l*
26×associate-*l* prod-exp
21×distribute-rgt-neg-in sqrt-prod
18×div-inv
16×associate-/r/ cbrt-unprod
10×associate-/r*
flip3-- flip-- unswap-sqr
pow1 add-log-exp
rec-exp 1-exp
frac-2neg clear-num
frac-times sub-neg diff-log associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
4 → 351
Calls
4 calls:
6.0ms
(/ 3.0 (/ 3.0 (* a c)))
4.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
58.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series101.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 3.0 (/ 3.0 (* a c)))
9.0ms
(- (* b b) (* (* 3.0 a) c))
36.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
51.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

simplify78.0ms

Algorithm
egg-herbie
Counts
363 → 363
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015265436
150014646

prune612.0ms

Filtered
210 candidates to 363 candidates (-72.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New3603363
Fresh369
Picked011
Done000
Total36310373

Merged error: 0b

Counts
373 → 10

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
53×add-exp-log
35×add-sqr-sqrt add-cbrt-cube
29×*-un-lft-identity
25×times-frac
20×prod-exp
16×add-cube-cbrt div-exp associate-*r*
14×associate-*l*
12×cbrt-unprod
11×pow1
cbrt-undiv
associate-/r*
distribute-lft-out-- add-log-exp difference-of-squares
pow-prod-down associate-/r/
rec-exp flip3-- distribute-rgt-neg-in 1-exp sqrt-prod flip-- div-inv unswap-sqr
*-commutative
frac-times sub-neg frac-2neg diff-log associate-*r/ associate-*l/ clear-num un-div-inv associate-/l*
Counts
4 → 121
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
18.0ms
(* (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 a))
11.0ms
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

series113.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
9.0ms
(- (* b b) (* (* 3.0 a) c))
45.0ms
(* (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 a))
55.0ms
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

simplify89.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06711482
136771214
250011202

prune149.0ms

Filtered
80 candidates to 133 candidates (-66.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1312133
Fresh268
Picked101
Done011
Total1349143

Merged error: 0b

Counts
143 → 9

regimes272.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
02211
12211

end0.0ms

analyze276.0ms

Algorithm
search

sample1.2s

Algorithm
intervals
Results
476.0ms4492×body160valid
261.0ms8958×pre80true
189.0ms3508×body80valid
49.0ms958×body80nan

Profiling

Loading profile data...