Details

Time bar (total: 8.2s)

sample15.0ms

Algorithm
intervals
Results
8.0ms328×body80valid

simplify1.2s

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01013
12513
25311
311211
416311
519311
621911
727711
841111
967411
1071011
1171111
done71111

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series139.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(- (* x 3.0) 4.0)
64.0ms
(* x (- (* x 3.0) 4.0))
32.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

simplify2.4s

Counts
67 → 67
Iterations

Useful iterations: 3 (664.0ms)

IterNodesCost
0108772
1264749
2921675
34272667
done5001667

prune122.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series89.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(+ 3.0 (* x (- (* x 9.0) 12.0)))
66.0ms
(* x (- (* x 9.0) 12.0))

simplify1.4s

Counts
45 → 45
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
076515
1185489
2583445
32828445
done5001445

prune83.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

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

series218.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* 3.0 1.0) (* 3.0 (* x (- (* x 3.0) 4.0))))
38.0ms
(- (* x 3.0) 4.0)
64.0ms
(* x (- (* x 3.0) 4.0))
88.0ms
(* 3.0 (* x (- (* x 3.0) 4.0)))

simplify565.0ms

Counts
96 → 96
Iterations

Useful iterations: done (562.0ms)

IterNodesCost
01241174
13061092
21050987
done5001977

prune158.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.1b
(* x (- (* x 3.0) 4.0))
0.3b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* x (- (* x 3.0) 4.0))))
0.4b
(* (cbrt 3.0) (* x (- (* x 3.0) 4.0)))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
34×distribute-rgt-in distribute-lft-in
32×pow1 add-exp-log
20×add-cbrt-cube
19×pow-prod-down prod-exp cbrt-unprod
15×sub-neg
12×associate-*r/
10×add-sqr-sqrt associate-*l*
add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r*
flip3-- flip--
cbrt-prod *-commutative
diff-log unswap-sqr
Counts
4 → 113
Calls
4 calls:
3.0ms
(- (* x 3.0) 4.0)
11.0ms
(* x (- (* x 3.0) 4.0))
54.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* x (- (* x 3.0) 4.0))))
17.0ms
(* (cbrt 3.0) (* x (- (* x 3.0) 4.0)))

series407.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* x 3.0) 4.0)
64.0ms
(* x (- (* x 3.0) 4.0))
172.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* x (- (* x 3.0) 4.0))))
133.0ms
(* (cbrt 3.0) (* x (- (* x 3.0) 4.0)))

simplify630.0ms

Counts
125 → 125
Iterations

Useful iterations: 2 (134.0ms)

IterNodesCost
01492004
13781980
213701495
done50001495

prune206.0ms

Pruning

4 alts after pruning (3 fresh and 1 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
01213
11613
done1613

end0.0ms

sample375.0ms

Algorithm
intervals
Results
262.0ms10691×body80valid