Details

Time bar (total: 15.2s)

sample39.0ms

Algorithm
intervals
Results
22.0ms338×body80valid

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (30.0ms)

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

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite105.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:
15.0ms
(- (* x 3.0) 4.0)
36.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
52.0ms
(* x (- (* x 3.0) 4.0))

series194.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(- (* x 3.0) 4.0)
41.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
90.0ms
(* x (- (* x 3.0) 4.0))

simplify2.2s

Counts
67 → 67
Iterations

Useful iterations: 3 (959.0ms)

IterNodesCost
0108772
1267749
2785675
33052667
done5000667

prune139.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+l+ *-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:
24.0ms
(+ (* x (- (* 9.0 x) 12.0)) 3.0)
46.0ms
(* x (- (* 9.0 x) 12.0))

series97.0ms

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

simplify1.1s

Counts
45 → 45
Iterations

Useful iterations: 3 (408.0ms)

IterNodesCost
076511
1187491
2477443
31742437
done5000437

prune100.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite125.0ms

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

series272.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* 1.0 3.0) (* (* x (- (* x 3.0) 4.0)) 3.0))
48.0ms
(- (* x 3.0) 4.0)
115.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
78.0ms
(* x (- (* x 3.0) 4.0))

simplify3.7s

Counts
80 → 80
Iterations

Useful iterations: 3 (1.9s)

IterNodesCost
0115989
1295921
2980817
34410800
done5000800

prune184.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×associate-*r*
15×pow1 add-exp-log add-cbrt-cube
14×sqrt-div associate-*r/
13×add-cube-cbrt *-un-lft-identity
10×associate-*l*
flip3-+ sqrt-prod flip-+
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in frac-times sub-neg distribute-lft-in *-commutative add-log-exp unswap-sqr
flip3-- associate-*l/ flip--
Counts
4 → 101
Calls
4 calls:
20.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
30.0ms
(* x (- (* x 3.0) 4.0))
37.0ms
(* x (- (* x 3.0) 4.0))
44.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

series335.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
66.0ms
(* x (- (* x 3.0) 4.0))
92.0ms
(* x (- (* x 3.0) 4.0))
36.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

simplify2.9s

Counts
113 → 113
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
01672164
14211768
211781568
341141555
done50001555

prune294.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes29.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.2s10754×body80valid