Details

Time bar (total: 14.0s)

sample169.0ms

Algorithm
intervals
Results
88.0ms119×body1280valid
38.0ms72×body640valid
11.0ms256×pre80true
6.0ms22×body320valid
3.0ms39×body80valid
1.0msbody160valid

simplify72.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
1159
2229
3319
4379
5479
6549
7649
8829
9999
101079
done1079

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.5b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.1b
(tan (+ y z))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
8.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series285.0ms

Counts
3 → 9
Calls
3 calls:
122.0ms
(+ x (- (tan (+ y z)) (tan a)))
113.0ms
(- (tan (+ y z)) (tan a))
50.0ms
(tan (+ y z))

simplify1.4s

Counts
51 → 51
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
091627
1197590
2430572
31029570
43630570
done5000570

prune153.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
tan-quot
pow1 distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg associate-+r+ flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
12.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
75.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
44.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series1.0s

Counts
4 → 12
Calls
4 calls:
216.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
341.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
380.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
95.0ms
(* (tan y) (tan z))

simplify1.5s

Counts
102 → 102
Iterations

Useful iterations: 3 (637.0ms)

IterNodesCost
01882099
14481986
211771912
333101900
done50011900

prune358.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
44×tan-quot
22×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
16×add-sqr-sqrt
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
pow-sqr *-commutative pow-prod-up add-log-exp
unswap-sqr
pow-plus
pow2 swap-sqr
Counts
4 → 112
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
21.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series384.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(* (tan y) (tan z))
90.0ms
(* (tan y) (tan z))
90.0ms
(* (tan y) (tan z))
114.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify1.0s

Counts
124 → 124
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01151312
13081231
211431047
done50001027

prune398.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (sin z))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.3b
(* (/ (* (tan y) (sin z)) (cos z)) (* (tan y) (tan z)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log add-cbrt-cube
18×add-sqr-sqrt
17×tan-quot
16×associate-*l*
15×pow1
14×prod-exp cbrt-unprod
12×add-cube-cbrt *-un-lft-identity
10×associate-*r*
frac-times associate-*r/
pow-prod-down associate-*l/
cbrt-undiv div-exp *-commutative add-log-exp
times-frac unswap-sqr
div-inv
Counts
4 → 98
Calls
4 calls:
7.0ms
(* (tan y) (sin z))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
20.0ms
(* (/ (* (tan y) (sin z)) (cos z)) (* (tan y) (tan z)))

series418.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* (tan y) (sin z))
92.0ms
(* (tan y) (tan z))
91.0ms
(* (tan y) (tan z))
169.0ms
(* (/ (* (tan y) (sin z)) (cos z)) (* (tan y) (tan z)))

simplify861.0ms

Counts
110 → 110
Iterations

Useful iterations: 2 (162.0ms)

IterNodesCost
01511398
14241358
217151102
done50001102

prune455.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes254.0ms

Accuracy

-9.7% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02641
13741
done3741

end0.0ms

sample4.8s

Algorithm
intervals
Results
3.0s3862×body1280valid
877.0ms2021×body640valid
322.0ms8000×pre80true
211.0ms712×body320valid
98.0ms1118×body80valid
58.0ms287×body160valid