Details

Time bar (total: 4.8s)

analyze261.0ms

Algorithm
search

sample44.0ms

Algorithm
intervals
Results
18.0ms164×body160valid
8.0ms274×pre80true
5.0ms40×body320valid
3.0ms52×body80valid
1.0ms18×body80nan

simplify10.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: 44.6b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 3.0 a) c))
0.3b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.3b
(* (* 3.0 a) c)
40.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

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

series53.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
25.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
3.0ms
(* (* 3.0 a) c)
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
25002602

prune115.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New82385
Fresh000
Picked101
Done000
Total83386

Merged error: 0.3b

Counts
86 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.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:
11.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(* (* 3.0 a) c)
4.0ms
(* 3.0 (* a c))
18.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series104.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
06282481
133222152
250022149

prune284.0ms

Filtered
104 candidates to 169 candidates (-62.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15910169
Fresh112
Picked101
Done000
Total16111172

Merged error: 0.0b

Counts
172 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.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:
12.0ms
(/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
6.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))))) (* 3.0 a))

series103.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
05712482
130602153
250032150

prune268.0ms

Filtered
103 candidates to 169 candidates (-64.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1654169
Fresh6410
Picked101
Done000
Total1728180

Merged error: 0.0b

Counts
180 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
1050×times-frac
455×add-sqr-sqrt *-un-lft-identity
319×add-cube-cbrt
161×add-exp-log
130×associate-/l*
100×div-exp
77×add-cbrt-cube
68×distribute-lft-out-- difference-of-squares
49×div-inv
42×cbrt-undiv
41×associate-/r*
34×distribute-rgt-neg-in sqrt-prod
26×prod-exp
12×rec-exp 1-exp cbrt-unprod
10×pow1
add-log-exp
frac-2neg associate-*r* pow-prod-down clear-num associate-/r/
div-sub associate-/l/
pow-flip associate-*l* *-commutative inv-pow
Counts
4 → 543
Calls
4 calls:
22.0ms
(/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c))
13.0ms
(/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c)
5.0ms
(* (* 3.0 a) c)
32.0ms
(/ (/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c)) (* 3.0 a))

series100.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c))
21.0ms
(/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c)
3.0ms
(* (* 3.0 a) c)
37.0ms
(/ (/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)) c)) (* 3.0 a))

simplify123.0ms

Algorithm
egg-herbie
Counts
555 → 555
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0188910240
150029451

prune1.0s

Filtered
306 candidates to 555 candidates (-81.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New5532555
Fresh347
Picked011
Done000
Total5567563

Merged error: 0b

Counts
563 → 7

regimes229.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
12113

end0.0ms

analyze257.0ms

Algorithm
search

sample1.2s

Algorithm
intervals
Results
449.0ms4812×body160valid
246.0ms8886×pre80true
193.0ms1386×body320valid
89.0ms1802×body80valid
42.0ms886×body80nan

Profiling

Loading profile data...