Details

Time bar (total: 2.1s)

sample16.0ms

Algorithm
intervals
Results
8.0ms320×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (11.0ms)

IterNodesCost
0266
1556
21226
32056
42535
53075
63635
74985
89115
911875
1011885
1111885

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (* x (- (* x 3.0) 4.0)))
0.0b
(- (* x 3.0) 4.0)
0.1b
(* x (- (* x 3.0) 4.0))
0.1b
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
distribute-rgt-in sub-neg distribute-lft-in
associate-+r+ associate-*r/
flip3-- flip3-+ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
+-commutative diff-log sum-log
Counts
4 → 73
Calls
4 calls:
7.0ms
(+ 1.0 (* x (- (* x 3.0) 4.0)))
7.0ms
(- (* x 3.0) 4.0)
30.0ms
(* x (- (* x 3.0) 4.0))
14.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series163.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ 1.0 (* x (- (* x 3.0) 4.0)))
38.0ms
(- (* x 3.0) 4.0)
64.0ms
(* x (- (* x 3.0) 4.0))
32.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify48.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0296472
11292423
25002422

prune145.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
0.2b
(* 9.0 (pow x 2))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 diff-log unpow2 sqr-pow
pow-to-exp sub-neg flip3-- pow-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 41
Calls
2 calls:
51.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
11.0ms
(* 9.0 (pow x 2))

series49.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
25.0ms
(* 9.0 (pow x 2))

simplify155.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (147.0ms)

IterNodesCost
0193233
1766207
24099201
35003200

prune86.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x (- (* x 9.0) 12.0)) 3.0)
0.1b
(* x (- (* x 9.0) 12.0))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+l+ *-un-lft-identity distribute-lft-in add-cbrt-cube add-log-exp
associate-*r* associate-*l*
associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
Counts
2 → 39
Calls
2 calls:
16.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
30.0ms
(* x (- (* x 9.0) 12.0))

series85.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
62.0ms
(* x (- (* x 9.0) 12.0))

simplify110.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0187237
1682211
23637208
35001208

prune74.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 9.0 (pow x 2)) (- 3.0 (* 12.0 x)))
0.0b
(- 3.0 (* 12.0 x))
0.2b
(* 9.0 (pow x 2))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×add-log-exp
add-exp-log associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
unpow-prod-down unswap-sqr
pow1 associate-*l* prod-exp
sub-neg associate-+r+ diff-log sum-log unpow2 sqr-pow
+-commutative pow-to-exp associate-+r- flip3-- flip3-+ pow-exp *-commutative flip-- cbrt-unprod flip-+
Counts
3 → 54
Calls
3 calls:
15.0ms
(+ (* 9.0 (pow x 2)) (- 3.0 (* 12.0 x)))
5.0ms
(- 3.0 (* 12.0 x))
11.0ms
(* 9.0 (pow x 2))

series87.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(+ (* 9.0 (pow x 2)) (- 3.0 (* 12.0 x)))
35.0ms
(- 3.0 (* 12.0 x))
28.0ms
(* 9.0 (pow x 2))

simplify202.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0239291
1883263
24741259
35002259

prune112.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes16.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample402.0ms

Algorithm
intervals
Results
255.0ms10693×body80valid