Details

Time bar (total: 9.5s)

sample17.0ms

Algorithm
intervals
Results
9.0ms350×body80valid

simplify796.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01013
12513
25311
311211
416311
519111
622011
728511
841311
967911
1076411
1180311
done80311

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
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)

rewrite154.0ms

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

series158.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
77.0ms
(- (* (* x 3.0) x) (* x 4.0))
31.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
26.0ms
(* (* x 3.0) x)

simplify2.1s

Counts
81 → 81
Iterations

Useful iterations: 3 (940.0ms)

IterNodesCost
01171095
13131047
2963827
34106813
done5000813

prune157.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series131.0ms

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

simplify1.1s

Counts
60 → 60
Iterations

Useful iterations: 3 (232.0ms)

IterNodesCost
084639
1202616
2495558
31711550
done5001550

prune100.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt sum-log distribute-rgt-neg-out
associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative associate-+l- flip3-+ unsub-neg flip-+
associate-+l+ associate-*r* *-commutative distribute-lft-out unswap-sqr
Counts
3 → 48
Calls
3 calls:
38.0ms
(+ (+ (* 9.0 (* x x)) (* x (- 12.0))) 3.0)
6.0ms
(+ (* 9.0 (* x x)) (* x (- 12.0)))
7.0ms
(* 9.0 (* x x))

series128.0ms

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

simplify1.5s

Counts
57 → 57
Iterations

Useful iterations: 3 (523.0ms)

IterNodesCost
085699
1236625
2780503
32818493
done5001493

prune93.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite59.0ms

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

series85.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(- (* (* x 3.0) x) (- (* x 4.0) 1.0))
30.0ms
(* 3.0 (- (* (* x 3.0) x) (- (* x 4.0) 1.0)))
25.0ms
(* (* x 3.0) x)

simplify2.3s

Counts
69 → 69
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
0104947
1236920
2770738
33450726
done5000726

prune118.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample378.0ms

Algorithm
intervals
Results
262.0ms10650×body80valid