Details

Time bar (total: 12.4s)

sample16.0ms

Algorithm
intervals
Results
9.0ms336×body80valid

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01013
12513
25311
311211
416311
519111
622011
728511
841311
967911
1075711
1179911
1280111
done80111

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite140.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:
33.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
6.0ms
(- (* (* x 3.0) x) (* x 4.0))
92.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
6.0ms
(* (* x 3.0) x)

series161.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
76.0ms
(- (* (* x 3.0) x) (* x 4.0))
32.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
29.0ms
(* (* x 3.0) x)

simplify2.4s

Counts
81 → 81
Iterations

Useful iterations: 3 (748.0ms)

IterNodesCost
01171095
13131047
2963827
34083813
done5000813

prune160.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

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

series103.0ms

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

simplify2.6s

Counts
42 → 42
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
060401
1134395
2346351
31036349
43806349
done5000349

prune73.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series96.0ms

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

simplify2.7s

Counts
48 → 48
Iterations

Useful iterations: 3 (889.0ms)

IterNodesCost
078475
1191418
2720371
33228339
done5001339

prune91.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.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:
3.0ms
(- (* 3.0 x) 4.0)
10.0ms
(* x (- (* 3.0 x) 4.0))
15.0ms
(* (* x (- (* 3.0 x) 4.0)) 3.0)

series186.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (* 3.0 x) 4.0)
62.0ms
(* x (- (* 3.0 x) 4.0))
83.0ms
(* (* x (- (* 3.0 x) 4.0)) 3.0)

simplify1.5s

Counts
65 → 65
Iterations

Useful iterations: 3 (427.0ms)

IterNodesCost
089694
1210683
2675585
32757576
done5001576

prune105.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes14.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
01112
11912
22112
done2112

end0.0ms

sample397.0ms

Algorithm
intervals
Results
274.0ms10578×body80valid