Details

Time bar (total: 16.5s)

sample19.0ms

Algorithm
intervals
Results
11.0ms338×body80valid

simplify1.4s

Counts
1 → 1
Iterations

Useful iterations: 2 (22.0ms)

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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite92.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)
37.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
36.0ms
(* x (- (* x 3.0) 4.0))

series220.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(- (* x 3.0) 4.0)
59.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))
102.0ms
(* x (- (* x 3.0) 4.0))

simplify2.3s

Counts
67 → 67
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
0108772
1267749
2785675
33052667
done5000667

prune189.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

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

rewrite71.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:
18.0ms
(+ (* x (- (* 9.0 x) 12.0)) 3.0)
52.0ms
(* x (- (* 9.0 x) 12.0))

series165.0ms

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

simplify1.3s

Counts
45 → 45
Iterations

Useful iterations: 3 (536.0ms)

IterNodesCost
076511
1187491
2477443
31742437
done5000437

prune117.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

rewrite122.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:
10.0ms
(+ (* 1.0 3.0) (* (* x (- (* x 3.0) 4.0)) 3.0))
8.0ms
(- (* x 3.0) 4.0)
49.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
54.0ms
(* x (- (* x 3.0) 4.0))

series310.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(+ (* 1.0 3.0) (* (* x (- (* x 3.0) 4.0)) 3.0))
75.0ms
(- (* x 3.0) 4.0)
101.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)
92.0ms
(* x (- (* x 3.0) 4.0))

simplify4.8s

Counts
80 → 80
Iterations

Useful iterations: 3 (1.9s)

IterNodesCost
0115989
1295921
2980817
34410800
done5000800

prune221.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

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

rewrite179.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:
21.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
37.0ms
(* x (- (* x 3.0) 4.0))
59.0ms
(* x (- (* x 3.0) 4.0))
59.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

series438.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
106.0ms
(* x (- (* x 3.0) 4.0))
126.0ms
(* x (- (* x 3.0) 4.0))
59.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

simplify3.4s

Counts
113 → 113
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
01672164
14211768
211781568
341141555
done50001555

prune364.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample784.0ms

Algorithm
intervals
Results
616.0ms10754×body80valid