Details

Time bar (total: 12.3s)

sample41.0ms

Algorithm
intervals
Results
22.0ms333×body80valid

simplify3.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
01013
12613
25511
312211
430311
582411
6282011
done500111

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite475.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*r/ *-commutative
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ diff-log flip-- flip-+ distribute-lft-out unswap-sqr
Counts
3 → 53
Calls
3 calls:
40.0ms
(- (* (* x 3.0) x) (* x 4.0))
401.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
31.0ms
(* (* x 3.0) x)

series219.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(- (* (* x 3.0) x) (* x 4.0))
55.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
51.0ms
(* (* x 3.0) x)

simplify1.3s

Counts
62 → 62
Iterations

Useful iterations: done (1.3s)

IterNodesCost
0105803
1308760
21711620
done5000616

prune226.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

rewrite101.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:
74.0ms
(- (+ (* 9.0 (pow x 2)) 3.0) (* 12.0 x))
25.0ms
(* 9.0 (pow x 2))

series81.0ms

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

simplify638.0ms

Counts
47 → 47
Iterations

Useful iterations: done (636.0ms)

IterNodesCost
082509
1202479
2807424
done5000386

prune144.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 1 expressions with local error:

0.1b
(* x (- (* 9.0 x) 12.0))

rewrite48.0ms

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

series93.0ms

Counts
1 → 3
Calls
1 calls:
93.0ms
(* x (- (* 9.0 x) 12.0))

simplify2.7s

Counts
27 → 27
Iterations

Useful iterations: 3 (940.0ms)

IterNodesCost
052273
1135270
2547244
33879236
done5001236

prune112.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite337.0ms

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

series230.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(- (+ (* (sqrt 9.0) (* (sqrt 9.0) (pow x 2))) 3.0) (* 12.0 x))
57.0ms
(* (sqrt 9.0) (pow x 2))
101.0ms
(* (sqrt 9.0) (* (sqrt 9.0) (pow x 2)))

simplify1.2s

Counts
79 → 79
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01071013
1273922
21488679
done5001639

prune243.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes47.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1119
done119

end0.0ms

sample871.0ms

Algorithm
intervals
Results
632.0ms10545×body80valid