Details

Time bar (total: 14.7s)

sample21.0ms

Algorithm
intervals
Results
11.0ms338×body80valid

simplify1.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (9.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))

rewrite91.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:
17.0ms
(- (* x 3.0) 4.0)
29.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
43.0ms
(* x (- (* x 3.0) 4.0))

series180.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(- (* x 3.0) 4.0)
54.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
70.0ms
(* x (- (* x 3.0) 4.0))

simplify2.1s

Counts
67 → 67
Iterations

Useful iterations: 3 (769.0ms)

IterNodesCost
0108772
1267749
2785675
33052667
done5000667

prune132.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

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

rewrite68.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:
27.0ms
(+ (* x (- (* 9.0 x) 12.0)) 3.0)
40.0ms
(* x (- (* 9.0 x) 12.0))

series101.0ms

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

simplify1.0s

Counts
45 → 45
Iterations

Useful iterations: 3 (396.0ms)

IterNodesCost
076511
1187491
2477443
31742437
done5000437

prune121.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

rewrite115.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))
10.0ms
(- (* x 3.0) 4.0)
50.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
43.0ms
(* x (- (* x 3.0) 4.0))

series260.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* 1.0 3.0) (* (* x (- (* x 3.0) 4.0)) 3.0))
50.0ms
(- (* x 3.0) 4.0)
110.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
67.0ms
(* x (- (* x 3.0) 4.0))

simplify3.9s

Counts
80 → 80
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
0115989
1295921
2980817
34410800
done5000800

prune180.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

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

rewrite170.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)))))
43.0ms
(* x (- (* x 3.0) 4.0))
36.0ms
(* x (- (* x 3.0) 4.0))
68.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

series385.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
107.0ms
(* x (- (* x 3.0) 4.0))
88.0ms
(* x (- (* x 3.0) 4.0))
35.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

simplify3.1s

Counts
113 → 113
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
01672164
14211768
211781568
341141555
done50001555

prune342.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes21.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
089
1119
done119

end0.0ms

sample1.1s

Algorithm
intervals
Results
751.0ms10754×body80valid