Details

Time bar (total: 11.3s)

sample205.0ms

Algorithm
intervals
Results
109.0ms125×body1280valid
41.0ms63×body640valid
20.0ms256×pre80true
8.0ms22×body320valid
4.0ms35×body80valid
3.0ms11×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.1b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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:
7.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
3.0ms
(tan (+ y z))

series284.0ms

Counts
3 → 9
Calls
3 calls:
112.0ms
(- (tan (+ y z)) (tan a))
118.0ms
(+ x (- (tan (+ y z)) (tan a)))
54.0ms
(tan (+ y z))

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune146.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize15.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.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite130.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:
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
70.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
41.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:
217.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
336.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
381.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
92.0ms
(* (tan y) (tan z))

simplify47.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04491261
115031213
250011205

prune345.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite228.0ms

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

series894.0ms

Counts
4 → 12
Calls
4 calls:
342.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
102.0ms
(/ (* (tan y) (sin z)) (cos z))
388.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
62.0ms
(* (tan y) (sin z))

simplify41.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03911035
11334960
25002951

prune329.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan y) (tan z)) (cos a))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))
0.3b
(* (tan y) (sin z))
0.3b
(* (tan y) (sin z))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×*-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
tan-quot associate-/l/
frac-sub
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 92
Calls
4 calls:
12.0ms
(* (+ (tan y) (tan z)) (cos a))
24.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))
8.0ms
(* (tan y) (sin z))
5.0ms
(* (tan y) (sin z))

series754.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(* (+ (tan y) (tan z)) (cos a))
484.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))
61.0ms
(* (tan y) (sin z))
66.0ms
(* (tan y) (sin z))

simplify71.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06071472
127821262
250021238

prune487.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

regimes308.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02924
12924

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.3s3856×body1280valid
1.1s1962×body640valid
594.0ms8000×pre80true
270.0ms707×body320valid
143.0ms1150×body80valid
81.0ms325×body160valid