Details

Time bar (total: 14.9s)

sample23.0ms

Algorithm
intervals
Results
11.0ms342×body80valid

simplify1.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
01013
12613
25511
312111
418211
521011
623611
728511
838311
948511
1055311
1157011
done57011

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite351.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity associate-*r*
add-cube-cbrt
associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*r/ *-commutative add-log-exp
distribute-rgt-in distribute-lft-in flip3-+ flip-+ distribute-lft-out unswap-sqr
Counts
2 → 41
Calls
2 calls:
312.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
38.0ms
(* (* x 3.0) x)

series79.0ms

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

simplify1.9s

Counts
47 → 47
Iterations

Useful iterations: 3 (930.0ms)

IterNodesCost
085587
1224577
2763447
33066441
done5001441

prune126.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite37.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:
36.0ms
(* x (- (* 9.0 x) 12.0))

series76.0ms

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

simplify3.5s

Counts
27 → 27
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
052273
1118270
2306236
3996236
44196236
done5001236

prune53.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.0ms

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

series159.0ms

Counts
2 → 6
Calls
2 calls:
107.0ms
(+ (* 9.0 (pow x 2)) (* (- 12.0) x))
53.0ms
(* 9.0 (pow x 2))

simplify2.4s

Counts
46 → 46
Iterations

Useful iterations: done (2.4s)

IterNodesCost
076458
1190404
2557356
32093325
done5000322

prune139.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 3 expressions with local error:

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

rewrite144.0ms

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

series313.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(- (* x 3.0) 4.0)
142.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
93.0ms
(* x (- (* x 3.0) 4.0))

simplify2.6s

Counts
65 → 65
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
091694
1212683
2647585
32582576
done5000576

prune164.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes23.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1119
done119

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.2s10699×body80valid