Details

Time bar (total: 1.8s)

sample15.0ms

Algorithm
intervals
Results
8.0ms333×body80valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (13.0ms)

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

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
14×*-un-lft-identity
12×distribute-rgt-in distribute-lft-in associate-*r*
associate-+r+ associate-*l*
pow1 add-exp-log add-cube-cbrt sub-neg add-cbrt-cube
associate-*r/
unswap-sqr
+-commutative pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out distribute-lft-out-- add-log-exp difference-of-squares
flip3-- flip3-+ flip-- flip-+
Counts
2 → 62
Calls
2 calls:
11.0ms
(* x (- (* x 3.0) 4.0))
20.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series102.0ms

Counts
2 → 6
Calls
2 calls:
68.0ms
(* x (- (* x 3.0) 4.0))
34.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify45.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0287379
11270347
25001347

prune83.0ms

Filtered
68 candidates to 37 candidates (45.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New62668
Fresh000
Picked101
Done000
Total63669

Merged error: 0b

Counts
69 → 6

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
16×add-sqr-sqrt
associate-*r* associate-*l*
add-exp-log add-log-exp
distribute-lft-out--
add-cube-cbrt unswap-sqr
pow1 unpow-prod-down add-cbrt-cube distribute-lft-out
prod-exp
diff-log associate--l+ unpow2 difference-of-squares sqr-pow
+-commutative pow-to-exp sub-neg flip3-- pow-prod-down pow-exp sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 51
Calls
2 calls:
19.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
6.0ms
(* 9.0 (pow x 2))

series54.0ms

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

simplify149.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (144.0ms)

IterNodesCost
0205299
1748273
23857260
35002259

prune81.0ms

Filtered
57 candidates to 34 candidates (40.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh505
Picked101
Done000
Total59463

Merged error: 0b

Counts
63 → 4

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt *-un-lft-identity
associate-*r* add-log-exp
associate-*l*
pow1 add-exp-log add-cube-cbrt sub-neg add-cbrt-cube
distribute-rgt-in associate-+l+ distribute-lft-in distribute-lft-out-- difference-of-squares
unswap-sqr
flip3-- associate-*r/ flip-- distribute-lft-out
+-commutative flip3-+ diff-log pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+
Counts
3 → 61
Calls
3 calls:
8.0ms
(- (* x 9.0) 12.0)
16.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
11.0ms
(* x (- (* x 9.0) 12.0))

series136.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (* x 9.0) 12.0)
25.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
67.0ms
(* x (- (* x 9.0) 12.0))

simplify118.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0226337
1807306
24019302
35001302

prune87.0ms

Filtered
70 candidates to 44 candidates (37.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh123
Picked011
Done000
Total70474

Merged error: 0b

Counts
74 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
28×associate-*l*
19×add-sqr-sqrt
10×add-log-exp
distribute-lft-out
pow1 add-exp-log add-cbrt-cube distribute-lft-out--
add-cube-cbrt
associate-*r*
unswap-sqr
pow-prod-down prod-exp cbrt-unprod
sub-neg associate-+r+ diff-log sum-log *-commutative difference-of-squares
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+
Counts
3 → 71
Calls
3 calls:
6.0ms
(- 3.0 (* 12.0 x))
24.0ms
(+ (* (* x 9.0) x) (- 3.0 (* 12.0 x)))
8.0ms
(* (* x 9.0) x)

series93.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- 3.0 (* 12.0 x))
24.0ms
(+ (* (* x 9.0) x) (- 3.0 (* 12.0 x)))
26.0ms
(* (* x 9.0) x)

simplify134.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0268366
1901345
24916324
35001324

prune84.0ms

Filtered
80 candidates to 44 candidates (45.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh112
Picked101
Done011
Total81384

Merged error: 0b

Counts
84 → 3

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

sample370.0ms

Algorithm
intervals
Results
255.0ms10675×body80valid